home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
tontie_hammer.swf
/
scripts
/
DefineSprite_374
/
frame_2
/
PlaceObject2_373_3
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2012-01-07
|
624b
|
35 lines
onClipEvent(enterFrame){
if(joutai == "up")
{
if(_Y > 0)
{
_Y = _Y - _parent.hitokoma;
}
else
{
_Y = 0;
_root.piko_ok = 1;
joutai = "top";
}
}
else if(joutai != "top")
{
if(joutai == "down")
{
if(_Y < _parent.soko)
{
_Y = _Y + _parent.hitokoma;
}
else
{
_Y = _parent.soko;
_root.mogura_on -= 1;
with(_parent)
{
gotoAndStop("off");
}
}
}
}
}